package com.yunhe.bean;

public class ShoppingCarInfo {
	private Integer userID=1;					//用户ID
	private Integer commodityID;			//商品id
	private Integer quantityPurchased=1;	//购买数量
	private Integer purchasedStatus;		//状态
	private String commodityName;			//名称
	private double	commodityPrice;			//商品价格 
	private String  pictureSource;			//图片来源
	private Integer sumCommodity;			//购物车商品总数
	private double sumPrice;				//总价格
	private String   commodityIDS;			//存储购物车所有商品ID拼接字符串
	
	
	
	
	
	
	
	
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public String getCommodityIDS() {
		return commodityIDS;
	}
	public void setCommodityIDS(String commodityIDS) {
		this.commodityIDS = commodityIDS;
	}
	public Integer getSumCommodity() {
		return sumCommodity;
	}
	public void setSumCommodity(Integer sumCommodity) {
		this.sumCommodity = sumCommodity;
	}
	public double getSumPrice() {
		return sumPrice;
	}
	public void setSumPrice(double sumPrice) {
		this.sumPrice = sumPrice;
	}
	public String getPictureSource() {
		return pictureSource;
	}
	public void setPictureSource(String pictureSource) {
		this.pictureSource = pictureSource;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}
	public double getCommodityPrice() {
		return commodityPrice;
	}
	public void setCommodityPrice(double commodityPrice) {
		this.commodityPrice = commodityPrice;
	}
	public Integer getCommodityID() {
		return commodityID;
	}
	public void setCommodityID(Integer commodityID) {
		this.commodityID = commodityID;
	}
	public Integer getQuantityPurchased() {
		return quantityPurchased;
	}
	public void setQuantityPurchased(Integer quantityPurchased) {
		this.quantityPurchased = quantityPurchased;
	}
	public Integer getPurchasedStatus() {
		return purchasedStatus;
	}
	public void setPurchasedStatus(Integer purchasedStatus) {
		this.purchasedStatus = purchasedStatus;
	}
	@Override
	public String toString() {
		return "ShoppingCarInfo [commodityID=" + commodityID
				+ ", quantityPurchased=" + quantityPurchased
				+ ", purchasedStatus=" + purchasedStatus + ", commodityName="
				+ commodityName + ", commodityPrice=" + commodityPrice
				+ ", pictureSource=" + pictureSource + ", sumCommodity="
				+ sumCommodity + ", sumPrice=" + sumPrice + "]";
	}

	
	

}
